package com.farm.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.farm.dao.IntroduceDao;
import com.farm.service.IntroduceService;

@Service("IntroduceService")
public class IntroduceServiceimpl implements IntroduceService {
	
	@Autowired
	private IntroduceDao introduceDao;

	//查询老师和学院的介绍
	@Override
	public List<Map<String, Object>> selectIntroduce(Map<String, Object> map) {
		List<Map<String, Object>> selectIntroduce = introduceDao.selectIntroduce(map);
		return selectIntroduce;
	}
	//查询单个老师和学院的介绍
	@Override
	public Map<String, Object> selectNameTel(Map<String, Object> map) {
		Map<String, Object> selectNameTel = introduceDao.selectNameTel(map);
		return selectNameTel;
	}
	
	

}
